<?php
class Core_Model_Module {
	
	protected $_option;
	
	public function __construct($option) {
		$this->_option = $option;
	}

	public function getName() {
		return $this->_option['name'];
	}
	
	public function getOrder() {
		return $this->_option['order'];
	}
	
	public function isActive() {
		return $this->_option['active'];
	}

	public function setActive($active) {
		$this->_option['active'] = (bool)$active;
		// save config
	}
	
	public function setOrder($order) {
		$this->_option['order'] = (int)$order;
		// save config
	}
	
	public function install() {
	}
	
	public function uninstall() {
	}
}